package com.ruoyi.system.mapper;

import com.ruoyi.common.mybatis.core.mapper.BaseMapperPlus;
import com.ruoyi.common.mybatis.core.page.TableDataInfo;
import com.ruoyi.system.domain.ArchiveResult;
import com.ruoyi.system.domain.vo.ArchiveResultVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 归档任务执行日志Mapper接口
 *
 * @author ruoyi
 * @date 2024-12-06
 */
public interface ArchiveResultMapper extends BaseMapperPlus<ArchiveResultMapper, ArchiveResult, ArchiveResultVo> {

    List<ArchiveResult> queryListForRecover(@Param("taskName") String taskName);

    void deleteByTaskIdAndNo(@Param("taskId") Long taskId, @Param("resultNo") String resultNo);
}
